import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcons from '@element-plus/icons-vue'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import router from './router'

const app = createApp(App)
for (const name in ElIcons)
{
    app.component(name,ElIcons[name])
}
app.use(ElementPlus, { locale })
   .use(router)
   .mount('#app')

